<html>
<head>
    <title> test jsp</title>


    <!--获取js文件夹位置和img文件夹位置-->
	<%

    String ApplicationPath = request.getContextPath() ;
    String jsPath = ApplicationPath+"/js";
    
 %>
     <!-- GC -->
     <script type="text/javascript" src="<%=jsPath%>/jquery/jquery1.8.min.js"></script>

    <script type="text/javascript">
    window.onload = function(){
        $("#div1").load("<%=ApplicationPath%>/audioRecorder/view.action");
       //$("#div1").append("<p>add code</p>");
    };
    </script>
</head>
<body>
    <div id="div1">test1</div>
    <div id="div2" style="width: 300px;height: 100px;">test code </div>
</body>
</html>